#CF4E52#CF4E52

#CF4E52 is a mid, vivid red. Relative luminance 0.193; OKLCH L 59.8% C 0.164 H 21.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#CF4E52
RGBrgb(207, 78, 82)
HSLhsl(358, 57%, 56%)
HSVhsv(358, 62%, 81%)
CMYKcmyk(0%, 62.3%, 60.4%, 18.8%)
CIE-LABlab(51.07, 51.28, 25.00)
CIE-LCHlch(51.07, 57.05, 25.99°)
OKLaboklab(59.79% 0.152 0.0605)
OKLCHoklch(59.79% 0.164 21.7)
XYZxyz(29.9823, 19.3273, 10.1327)
Luminance0.1932 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4E52 #4ECFCB
analogous
#CF4E92 #CF4E52 #CF8B4E
triadic
#CF4E52 #52CF4E #4E52CF
tetradic
#CF4E52 #92CF4E #4ECFCB #8B4ECF
square
#CF4E52 #92CF4E #4ECFCB #8B4ECF
split-complementary
#CF4E52 #4ECF8B #4E92CF
monochromatic
#802326 #B03034 #CF4E52 #DC7E81 #E9AEB0

Accessibility & contrast

On white

4.32
#CF4E52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#CF4E52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4E52
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4E52#FFFFFF#000000##000000
##CF4E521.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F6851
Deuteranopia (green-blind)
#8F844F
Tritanopia (blue-blind)
#E23451
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cf4e52;
/* rgb */ color: rgb(207, 78, 82);
/* oklch */ color: oklch(59.8% 0.164 21.7);
Tailwind
colors: {
  custom: {
    50: '#e48582',
    500: '#cf4e52',
    950: '#000000',
  },
}
SCSS
$custom: #cf4e52;
$custom-light: #e48582;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4e52",
  "rgb": {
    "r": 207,
    "g": 78,
    "b": 82
  },
  "hsl": {
    "h": 358.14,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59794,
    "c": 0.16355,
    "h": 21.7
  },
  "luminance": 0.19323
}

Semantic roles & 50–950 ramp

primary
#CF4E52
secondary
#A2D7D5
accent
#E1DC47
background
#FEF8F7
surface
#FDF0EE
border
#D5CBC9
text
#170B0A
muted
#857C7C

Preview Lab

Preview with #CF4E52

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

Preview Lab → · Contrast checker → · Palette generator →

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