#CF5175#CF5175

#CF5175 is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.0% C 0.162 H 5.5°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#CF5175
RGBrgb(207, 81, 117)
HSLhsl(343, 57%, 56%)
HSVhsv(343, 61%, 81%)
CMYKcmyk(0%, 60.9%, 43.5%, 18.8%)
CIE-LABlab(52.33, 52.91, 5.87)
CIE-LCHlch(52.33, 53.23, 6.33°)
OKLaboklab(60.99% 0.1612 0.0157)
OKLCHoklch(60.99% 0.162 5.5)
XYZxyz(31.8877, 20.4383, 19.0919)
Luminance0.2044 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5175 #51CFAB
analogous
#CF51B4 #CF5175 #CF6C51
triadic
#CF5175 #75CF51 #5175CF
tetradic
#CF5175 #B4CF51 #51CFAB #6C51CF
square
#CF5175 #B4CF51 #51CFAB #6C51CF
split-complementary
#CF5175 #51CF6C #51B4CF
monochromatic
#82243F #B23156 #CF5175 #DC819B #E9B1C1

Accessibility & contrast

On white

4.13
#CF5175 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#CF5175 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5175
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5175#FFFFFF#000000##000000
##CF51751.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A6D76
Deuteranopia (green-blind)
#8B8672
Tritanopia (blue-blind)
#E0425F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf5175;
/* rgb */ color: rgb(207, 81, 117);
/* oklch */ color: oklch(61.0% 0.162 5.5);
Tailwind
colors: {
  custom: {
    50: '#e2889c',
    500: '#cf5175',
    950: '#000000',
  },
}
SCSS
$custom: #cf5175;
$custom-light: #e2889c;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5175",
  "rgb": {
    "r": 207,
    "g": 81,
    "b": 117
  },
  "hsl": {
    "h": 342.857,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60988,
    "c": 0.16195,
    "h": 5.5
  },
  "luminance": 0.20435
}

Semantic roles & 50–950 ramp

primary
#CF5175
secondary
#A4D8C9
accent
#E0B548
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CF5175

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

Preview Lab → · Contrast checker → · Palette generator →

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