#CF4281#CF4281

#CF4281 is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.7% C 0.185 H 356.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#CF4281
RGBrgb(207, 66, 129)
HSLhsl(333, 59%, 54%)
HSVhsv(333, 68%, 81%)
CMYKcmyk(0%, 68.1%, 37.7%, 18.8%)
CIE-LABlab(50.39, 60.36, -4.15)
CIE-LCHlch(50.39, 60.51, 356.07°)
OKLaboklab(59.67% 0.1849 -0.0101)
OKLCHoklch(59.67% 0.185 356.9)
XYZxyz(31.6448, 18.7505, 22.7174)
Luminance0.1875 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4281 #42CF90
analogous
#CF42C8 #CF4281 #CF4942
triadic
#CF4281 #81CF42 #4281CF
tetradic
#CF4281 #C8CF42 #42CF90 #4942CF
square
#CF4281 #C8CF42 #42CF90 #4942CF
split-complementary
#CF4281 #42CF49 #42C8CF
monochromatic
#781F47 #A92B63 #CF4281 #DB73A2 #E8A4C2

Accessibility & contrast

On white

4.42
#CF4281 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#CF4281 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4281
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4281#FFFFFF#000000##000000
##CF42811.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C6783
Deuteranopia (green-blind)
#83827E
Tritanopia (blue-blind)
#DF345C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cf4281;
/* rgb */ color: rgb(207, 66, 129);
/* oklch */ color: oklch(59.7% 0.185 356.9);
Tailwind
colors: {
  custom: {
    50: '#e280a5',
    500: '#cf4281',
    950: '#000000',
  },
}
SCSS
$custom: #cf4281;
$custom-light: #e280a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4281",
  "rgb": {
    "r": 207,
    "g": 66,
    "b": 129
  },
  "hsl": {
    "h": 333.191,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59665,
    "c": 0.18516,
    "h": 356.9
  },
  "luminance": 0.18747
}

Semantic roles & 50–950 ramp

primary
#CF4281
secondary
#98D5BA
accent
#E39C45
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CF4281

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

Preview Lab → · Contrast checker → · Palette generator →

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