#CF4058#CF4058

#CF4058 is a mid, vivid red. Relative luminance 0.176; OKLCH L 58.3% C 0.179 H 15.1°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#CF4058
RGBrgb(207, 64, 88)
HSLhsl(350, 60%, 53%)
HSVhsv(350, 69%, 81%)
CMYKcmyk(0%, 69.1%, 57.5%, 18.8%)
CIE-LABlab(49.06, 57.46, 18.76)
CIE-LCHlch(49.06, 60.44, 18.08°)
OKLaboklab(58.33% 0.1726 0.0464)
OKLCHoklch(58.33% 0.179 15.1)
XYZxyz(29.3298, 17.6408, 11.0912)
Luminance0.1764 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4058 #40CFB7
analogous
#CF409F #CF4058 #CF6F40
triadic
#CF4058 #58CF40 #4058CF
tetradic
#CF4058 #9FCF40 #40CFB7 #6F40CF
square
#CF4058 #9FCF40 #40CFB7 #6F40CF
split-complementary
#CF4058 #40CF6F #409FCF
monochromatic
#771E2D #A82A3F #CF4058 #DB7183 #E8A2AE

Accessibility & contrast

On white

4.64
#CF4058 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#CF4058 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CF4058
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4058#FFFFFF#000000##FFFFFF
##CF40581.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#656258
Deuteranopia (green-blind)
#897F54
Tritanopia (blue-blind)
#E21E4A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cf4058;
/* rgb */ color: rgb(207, 64, 88);
/* oklch */ color: oklch(58.3% 0.179 15.1);
Tailwind
colors: {
  custom: {
    50: '#e47e86',
    500: '#cf4058',
    950: '#000000',
  },
}
SCSS
$custom: #cf4058;
$custom-light: #e47e86;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4058",
  "rgb": {
    "r": 207,
    "g": 64,
    "b": 88
  },
  "hsl": {
    "h": 349.93,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58328,
    "c": 0.17872,
    "h": 15.1
  },
  "luminance": 0.17637
}

Semantic roles & 50–950 ramp

primary
#CF4058
secondary
#97D4CA
accent
#E3C845
background
#FEF8F8
surface
#FDEFEF
border
#D5CACA
text
#170B0B
muted
#857C7C

Preview Lab

Preview with #CF4058

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

Preview Lab → · Contrast checker → · Palette generator →

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