#D271B9
Closest named color: Pale Magenta (#D767AD). oklch(68.1% 0.15 337.7), rgb(210, 113, 185).
Aa
Black text reads best on this color (6.80:1).
About this color
#D271B9 is a medium-light, vivid pink. In OKLCH its lightness is 68%, its chroma 0.150 and its hue 338°. Its hue sits on the warm side of the wheel. The nearest named color is Pale Magenta (#D767AD), ΔE 0.024 away. Black text reads best on it, at 6.80:1.
| Hue family | Pinks |
| Lightness | medium-light (68%) |
| Chroma | vivid (0.150) |
| Temperature | warm |
| Nearest name | Pale Magenta (#D767AD) |
| Black text | 6.80:1 |
| White text | 3.08:1 |
Values
| HEX | #D271B9 |
| RGB | rgb(210, 113, 185) |
| HSL | hsl(315, 52%, 63%) |
| OKLCH | oklch(68.1% 0.15 337.7) |
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 #D271B9 | 3.08:1 | AA large text | Lc -62.8 | Content text, not long reading |
| Black text on #D271B9 | 6.80:1 | AA | Lc 46.6 | Large or bold text, headings |
| #D271B9 text on white | 3.08:1 | AA large text | Lc 57.4 | Large or bold text, headings |
| #D271B9 text on black | 6.80:1 | AA | Lc -44.3 | 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
#E9A9D6
oklch(80.9% 0.095 337.8)
-
Step 400
400 (this color)
#D271B9
oklch(68.1% 0.15 337.7)
-
Step 500
500
#CE51B1
oklch(63% 0.191 337.8)
-
Step 600
600
#B92E9D
oklch(55.5% 0.208 337.6)
-
Step 700
700
#9F1E86
oklch(49% 0.193 337.7)
-
Step 800
800
#811D6D
oklch(42.6% 0.16 337.5)
-
Step 900
900
#682058
oklch(37.7% 0.124 337.7)
-
Step 950
950
#3D1434
oklch(26.9% 0.079 337)
#D271B9 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) | #7389BC | 0.154 |
| Deuteranopia (no green cones) | #8D98B6 | 0.139 |
| Tritanopia (no blue cones) | #DB748D | 0.070 |
| Achromatopsia (no color) | #939393 | 0.151 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D271B9
#D271B9
oklch(68.1% 0.15 337.7)
- #27B473
#27B473
oklch(68.2% 0.151 157.4)
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 #D271B9, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pale Magenta #D767AD ΔE 0.024
- Orchid #DA70D6 ΔE 0.046
- Pale Violet Red #DB7093 ΔE 0.059
- Lavender Pink #DD85D7 ΔE 0.060
- Muted Pink #D1768F ΔE 0.067
- Wisteria #A87DC2 ΔE 0.073
- Dull Pink #D5869D ΔE 0.075
- Medium Pink #F36196 ΔE 0.076
Use #D271B9 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.