#D25271#D25271

#D25271 is a mid, vivid red. Relative luminance 0.209; OKLCH L 61.5% C 0.163 H 8.4°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#D25271
RGBrgb(210, 82, 113)
HSLhsl(345, 59%, 57%)
HSVhsv(345, 61%, 82%)
CMYKcmyk(0%, 61%, 46.2%, 17.6%)
CIE-LABlab(52.88, 53.04, 9.10)
CIE-LCHlch(52.88, 53.82, 9.73°)
OKLaboklab(61.46% 0.1612 0.0237)
OKLCHoklch(61.46% 0.163 8.4)
XYZxyz(32.5787, 20.9324, 17.9443)
Luminance0.2093 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D25271 #52D2B3
analogous
#D252B1 #D25271 #D27352
triadic
#D25271 #71D252 #5271D2
tetradic
#D25271 #B1D252 #52D2B3 #7352D2
square
#D25271 #B1D252 #52D2B3 #7352D2
split-complementary
#D25271 #52D273 #52B1D2
monochromatic
#87233B #B73050 #D25271 #DF8399 #EBB3C1

Accessibility & contrast

On white

4.05
#D25271 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#D25271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D25271
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D25271#FFFFFF#000000##000000
##D252711.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D6E72
Deuteranopia (green-blind)
#8E886E
Tritanopia (blue-blind)
#E4415E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d25271;
/* rgb */ color: rgb(210, 82, 113);
/* oklch */ color: oklch(61.5% 0.163 8.4);
Tailwind
colors: {
  custom: {
    50: '#e58899',
    500: '#d25271',
    950: '#000000',
  },
}
SCSS
$custom: #d25271;
$custom-light: #e58899;
$custom-dark: #000000;
JSON
{
  "hex": "#d25271",
  "rgb": {
    "r": 210,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 345.469,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61456,
    "c": 0.16296,
    "h": 8.4
  },
  "luminance": 0.20928
}

Semantic roles & 50–950 ramp

primary
#D25271
secondary
#A6DACD
accent
#E2BC46
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#170C0D
muted
#857D7E

Preview Lab

Preview with #D25271

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#D25271 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva