#CF4051#CF4051

#CF4051 is a mid, vivid red. Relative luminance 0.175; OKLCH L 58.2% C 0.179 H 18.1°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#CF4051
RGBrgb(207, 64, 81)
HSLhsl(353, 60%, 53%)
HSVhsv(353, 69%, 81%)
CMYKcmyk(0%, 69.1%, 60.9%, 18.8%)
CIE-LABlab(48.92, 56.98, 22.80)
CIE-LCHlch(48.92, 61.37, 21.81°)
OKLaboklab(58.18% 0.1699 0.0554)
OKLCHoklch(58.18% 0.179 18.1)
XYZxyz(29.0536, 17.5304, 9.6368)
Luminance0.1753 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4051 #40CFBE
analogous
#CF4098 #CF4051 #CF7640
triadic
#CF4051 #51CF40 #4051CF
tetradic
#CF4051 #98CF40 #40CFBE #7640CF
square
#CF4051 #98CF40 #40CFBE #7640CF
split-complementary
#CF4051 #40CF76 #4098CF
monochromatic
#771E28 #A82A39 #CF4051 #DB717E #E8A2AA

Accessibility & contrast

On white

4.66
#CF4051 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#CF4051 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CF4051
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4051#FFFFFF#000000##FFFFFF
##CF40511.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#666151
Deuteranopia (green-blind)
#8A7F4D
Tritanopia (blue-blind)
#E31B47
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cf4051;
/* rgb */ color: rgb(207, 64, 81);
/* oklch */ color: oklch(58.2% 0.179 18.1);
Tailwind
colors: {
  custom: {
    50: '#e57e81',
    500: '#cf4051',
    950: '#000000',
  },
}
SCSS
$custom: #cf4051;
$custom-light: #e57e81;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4051",
  "rgb": {
    "r": 207,
    "g": 64,
    "b": 81
  },
  "hsl": {
    "h": 352.867,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58183,
    "c": 0.17867,
    "h": 18.1
  },
  "luminance": 0.17526
}

Semantic roles & 50–950 ramp

primary
#CF4051
secondary
#97D4CD
accent
#E3D045
background
#FFF8F7
surface
#FEEFEE
border
#D6CAC9
text
#170B0A
muted
#857C7C

Preview Lab

Preview with #CF4051

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

Preview Lab → · Contrast checker → · Palette generator →

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