#CF5258#CF5258

#CF5258 is a mid, vivid red. Relative luminance 0.200; OKLCH L 60.4% C 0.159 H 20.3°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CF5258
RGBrgb(207, 82, 88)
HSLhsl(357, 57%, 57%)
HSVhsv(357, 60%, 81%)
CMYKcmyk(0%, 60.4%, 57.5%, 18.8%)
CIE-LABlab(51.85, 49.92, 22.48)
CIE-LCHlch(51.85, 54.75, 24.24°)
OKLaboklab(60.42% 0.1487 0.0551)
OKLCHoklch(60.42% 0.159 20.3)
XYZxyz(30.5136, 20.0085, 11.4858)
Luminance0.2001 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5258 #52CFC9
analogous
#CF5297 #CF5258 #CF8B52
triadic
#CF5258 #58CF52 #5258CF
tetradic
#CF5258 #97CF52 #52CFC9 #8B52CF
square
#CF5258 #97CF52 #52CFC9 #8B52CF
split-complementary
#CF5258 #52CF8B #5297CF
monochromatic
#822429 #B23138 #CF5258 #DC8286 #EAB2B4

Accessibility & contrast

On white

4.20
#CF5258 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#CF5258 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5258
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5258#FFFFFF#000000##000000
##CF52581.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#716B57
Deuteranopia (green-blind)
#908555
Tritanopia (blue-blind)
#E23B55
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf5258;
/* rgb */ color: rgb(207, 82, 88);
/* oklch */ color: oklch(60.4% 0.159 20.3);
Tailwind
colors: {
  custom: {
    50: '#e48887',
    500: '#cf5258',
    950: '#000000',
  },
}
SCSS
$custom: #cf5258;
$custom-light: #e48887;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5258",
  "rgb": {
    "r": 207,
    "g": 82,
    "b": 88
  },
  "hsl": {
    "h": 357.12,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60415,
    "c": 0.15853,
    "h": 20.3
  },
  "luminance": 0.20005
}

Semantic roles & 50–950 ramp

primary
#CF5258
secondary
#A5D8D6
accent
#E0D948
background
#FEF8F8
surface
#FDF0EF
border
#D5CBCA
text
#170C0B
muted
#857D7C

Preview Lab

Preview with #CF5258

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

Preview Lab → · Contrast checker → · Palette generator →

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