#CF4F52#CF4F52

#CF4F52 is a mid, vivid red. Relative luminance 0.195; OKLCH L 59.9% C 0.162 H 22.1°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#CF4F52
RGBrgb(207, 79, 82)
HSLhsl(359, 57%, 56%)
HSVhsv(359, 62%, 81%)
CMYKcmyk(0%, 61.8%, 60.4%, 18.8%)
CIE-LABlab(51.23, 50.84, 25.22)
CIE-LCHlch(51.23, 56.75, 26.38°)
OKLaboklab(59.92% 0.1506 0.061)
OKLCHoklch(59.92% 0.162 22.1)
XYZxyz(30.0539, 19.4705, 10.1566)
Luminance0.1947 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4F52 #4FCFCC
analogous
#CF4F92 #CF4F52 #CF8C4F
triadic
#CF4F52 #52CF4F #4F52CF
tetradic
#CF4F52 #92CF4F #4FCFCC #8C4FCF
square
#CF4F52 #92CF4F #4FCFCC #8C4FCF
split-complementary
#CF4F52 #4FCF8C #4F92CF
monochromatic
#812325 #B13033 #CF4F52 #DC7F81 #E9AFB1

Accessibility & contrast

On white

4.29
#CF4F52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#CF4F52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4F52
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4F52#FFFFFF#000000##000000
##CF4F521.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F6951
Deuteranopia (green-blind)
#90844F
Tritanopia (blue-blind)
#E23651
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cf4f52;
/* rgb */ color: rgb(207, 79, 82);
/* oklch */ color: oklch(59.9% 0.162 22.1);
Tailwind
colors: {
  custom: {
    50: '#e48682',
    500: '#cf4f52',
    950: '#000000',
  },
}
SCSS
$custom: #cf4f52;
$custom-light: #e48682;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4f52",
  "rgb": {
    "r": 207,
    "g": 79,
    "b": 82
  },
  "hsl": {
    "h": 358.594,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59918,
    "c": 0.16243,
    "h": 22.1
  },
  "luminance": 0.19467
}

Semantic roles & 50–950 ramp

primary
#CF4F52
secondary
#A2D7D6
accent
#E0DD47
background
#FEF8F7
surface
#FDF0EE
border
#D5CBC9
text
#170C0A
muted
#857D7C

Preview Lab

Preview with #CF4F52

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

Preview Lab → · Contrast checker → · Palette generator →

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