#D271B7
Closest named color: Pale Magenta (#D767AD). oklch(68% 0.148 338.6), rgb(210, 113, 183).
Aa
Black text reads best on this color (6.78:1).
About this color
#D271B7 is a medium-light, vivid pink. In OKLCH its lightness is 68%, its chroma 0.148 and its hue 339°. Its hue sits on the warm side of the wheel. The nearest named color is Pale Magenta (#D767AD), ΔE 0.023 away. Black text reads best on it, at 6.78:1.
| Hue family | Pinks |
| Lightness | medium-light (68%) |
| Chroma | vivid (0.148) |
| Temperature | warm |
| Nearest name | Pale Magenta (#D767AD) |
| Black text | 6.78:1 |
| White text | 3.09:1 |
Values
| HEX | #D271B7 |
| RGB | rgb(210, 113, 183) |
| HSL | hsl(317, 52%, 63%) |
| OKLCH | oklch(68% 0.148 338.6) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #D271B7 | 3.09:1 | AA large text | Lc -62.9 | Content text, not long reading |
| Black text on #D271B7 | 6.78:1 | AA | Lc 46.5 | Large or bold text, headings |
| #D271B7 text on white | 3.09:1 | AA large text | Lc 57.5 | Large or bold text, headings |
| #D271B7 text on black | 6.78:1 | AA | Lc -44.2 | Non-text elements, placeholder text |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 400.
-
Step 50
50
#FBF2F8
oklch(97% 0.012 337.5)
-
Step 100
100
#F7E3F0
oklch(93.6% 0.028 338.6)
-
Step 200
200
#F1CDE5
oklch(88.6% 0.051 338.4)
-
Step 300
300
#E9AAD5
oklch(81% 0.092 338.7)
-
Step 400
400 (this color)
#D271B7
oklch(68% 0.148 338.6)
-
Step 500
500
#CE52AF
oklch(63.1% 0.188 338.6)
-
Step 600
600
#BA2F9B
oklch(55.7% 0.206 338.7)
-
Step 700
700
#9F1F84
oklch(49% 0.191 338.5)
-
Step 800
800
#821E6B
oklch(42.8% 0.158 339)
-
Step 900
900
#692057
oklch(37.8% 0.123 339)
-
Step 950
950
#3E1433
oklch(27.1% 0.079 339.1)
#D271B7 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #7489B9 | 0.153 |
| Deuteranopia (no green cones) | #8E98B4 | 0.139 |
| Tritanopia (no blue cones) | #DB748C | 0.069 |
| Achromatopsia (no color) | #929292 | 0.150 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D271B7
#D271B7
oklch(68% 0.148 338.6)
- #24B375
#24B375
oklch(68% 0.148 158.5)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #D271B7, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pale Magenta #D767AD ΔE 0.023
- Orchid #DA70D6 ΔE 0.049
- Pale Violet Red #DB7093 ΔE 0.056
- Lavender Pink #DD85D7 ΔE 0.061
- Muted Pink #D1768F ΔE 0.064
- Dull Pink #D5869D ΔE 0.073
- Wisteria #A87DC2 ΔE 0.074
- Medium Pink #F36196 ΔE 0.074
Use #D271B7 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.